<?php
/* @var $this CmpMessageController */
/* @var $data CmpMessage */
?>

<tr>
	<td  width="" class="pro pl15">
		<?php echo CHtml::checkBox('id[]','',array('class'=>'chk f_l chkitem','onclick'=>'CheckList("ids[]","id[]")','value'=>$data->zcm_id))?> 
        <div class="c_img c_img50">
        	<?php echo CHtml::link(Tool::thumb($data->product->zp_pic,50,50),array('/home/product/detail','id'=>$data->product->zp_id),array('target'=>'_blank'))?>
        </div>
        <p class="title_pro line_18">
        	<?php echo CHtml::link(str_cut($data->product->zp_name,60),array('/home/product/detail','id'=>$data->product->zp_id),array('class'=>'c_06c','target'=>'_blank'))?>
        </p>
	</td>
	<td width="28%" class="pl15"><?php echo CHtml::link(str_cut($data->zcm_content,100),array('update','id'=>$data->zcm_id)); ?></td>
	<td width="18%" class=""><?php echo date('Y-m-d H:i',$data->inputtime)?></td>
	<td width="14%" class=""><?php echo empty($data->zcm_reply)?'<span class="c_green3">待回复</span>':'<span>已回复</span>' ?></td>
	<td  width="12%" class="">
		<?php echo CHtml::link(empty($data->zcm_reply)?Yii::t('cmp','Replay'):Yii::t('cmp','Modify'),array('update','id'=>$data->zcm_id),array('class'=>'c_06c mr10'))?>
		<?php echo CHtml::link(Yii::t('cmp','Delete'),'javascript:',array('class'=>'c_06c','onclick'=>'return art_del_confirm("'.$this->pre_module_url.'/'.Yii::app()->getController()->id.'/delete/id/'.$data->zcm_id.'","你确定要删除这条信息吗？")'))?>
	</td>
</tr>